package org.firefly.fx.bean;

import java.util.Date;

public class Product {
    private Integer id;

    private String code;

    private String name;

    private String firstCurrency;

    private String secondCurrency;

    private Float buy;

    private Float sell;

    private Float stableDiff;

    private Date proTime;

    private String timeArea;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getFirstCurrency() {
        return firstCurrency;
    }

    public void setFirstCurrency(String firstCurrency) {
        this.firstCurrency = firstCurrency == null ? null : firstCurrency.trim();
    }

    public String getSecondCurrency() {
        return secondCurrency;
    }

    public void setSecondCurrency(String secondCurrency) {
        this.secondCurrency = secondCurrency == null ? null : secondCurrency.trim();
    }

    public Float getBuy() {
        return buy;
    }

    public void setBuy(Float buy) {
        this.buy = buy;
    }

    public Float getSell() {
        return sell;
    }

    public void setSell(Float sell) {
        this.sell = sell;
    }

    public Float getStableDiff() {
        return stableDiff;
    }

    public void setStableDiff(Float stableDiff) {
        this.stableDiff = stableDiff;
    }

    public Date getProTime() {
        return proTime;
    }

    public void setProTime(Date proTime) {
        this.proTime = proTime;
    }

    public String getTimeArea() {
        return timeArea;
    }

    public void setTimeArea(String timeArea) {
        this.timeArea = timeArea == null ? null : timeArea.trim();
    }
}